<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Mustache 模板差值</title>
</head>
<body>
<div id="app">
    <h1>Hello, World!</h1>
    <h1>{{ message }}</h1>
    <h2>{{ first + " " + second }}</h2>
    <h1>{{ 1+2 }}</h1>
</div>

<script type="module">
    // 在浏览器中直接使用，不进行打包的话，需要包含扩展名
    import {createApp} from "../../../../js/vue.esm-browser.js";

    const app = createApp({

        setup() {
            return {
                message: "Hello, World!",
                first: "kevin",
                second: "abcque",

            }
        }
    })


    app.mount("#app")
</script>
</body>
</html>